package com.ciwong.epaper.bean;

import com.ciwong.mobilelib.bean.BaseBean;
import com.nostra13.universalimageloader.utils.L;

/**
 * 登录账号信息
 *
 * @author bin
 * @version ciwong v.1.0 2015/11/24 17:51
 * @since ciwong v.1.0
 */
public class LoginAccountInfo extends BaseBean
{


//    private static final long serialVersionUID = 2750458046240304087L;

    /**
     * 账号
     */
    private long userId;

    /**
     * 密码
     */
    private String userPwd;

    /**
     * 头像
     */
    private String avatar;

    public long getUserId()
    {
        return userId;
    }

    public void setUserId(long userId)
    {
        this.userId = userId;
    }

    public String getUserPwd()
    {
        return userPwd;
    }

    public void setUserPwd(String userPwd)
    {
        this.userPwd = userPwd;
    }

    public String getAvatar()
    {
        return avatar;
    }

    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }


    /*分品牌是否需要加以下字段，习习向不需要，其他需要*/

   /* *//**
     * 是否是手机号登陆
     *//*
    private Boolean isPhonelogin=false;

    public Boolean getPhonelogin() {
        return isPhonelogin;
    }

    public void setPhonelogin(Boolean phonelogin) {
        isPhonelogin = phonelogin;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    *//**
     * 用户手机号

     *
     *//*
    private String phoneNumber="1234";
*/
    @Override
    public boolean equals(Object o)
    {
        return getUserId() == ((LoginAccountInfo) o).getUserId();
    }



}
